package com.mapper;

import com.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author:周鹏
 * @date: 2020/10/23 10:40
 * @description:商品Mapper层
 */
@Mapper
public interface goodsMapper {
    //增
    int add_goods(Goods goods);
    //查one
    Goods findOne(Integer goodsid);
    //查所有
    List<Goods> findAll();
    //改
    int  update_goods(Goods good);




}
